<?
    switch ($this->level)
    {
        case 1:  // Settings list
            echo "<ul>".$this->settings()."</ul>";
            break;

        case 2: // Firmwares
            echo $this->firmwares();
            break;

        case 3: // Expand to firmware
            echo "<ul>".$this->settings(array("id" => 4, "expand" => $this->firmwares()))."</ul>";
            break;

        case 4: // Dictionaries
            echo $this->render("menu/partial.dictionaries.phtml");
            break;
    };
?>